﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// BookManage 的摘要说明
/// </summary>
public class BookManageEntiry
{
    #region 定义图书信息--数据结构
    private string bookcode = "";
    private string bookname = "";
    private string type = "";
    private string author = "";
    private string translator = "";
    private string pubname = "";
    private decimal price = 0;
    private int page = 0;
    private string bcase = "";
    private int storage = 0;
    private DateTime intime = Convert.ToDateTime(DateTime.Now.ToShortDateString());
    private string oper = "";
    private int borrownum = 0;

    /// <summary>
    /// 条形码
    /// </summary>
    public string BookCode
    {
        get { return bookcode; }
        set { bookcode = value; }
    }
    /// <summary>
    /// 书名
    /// </summary>
    public string BookName
    {
        get { return bookname; }
        set { bookname = value; }
    }
    /// <summary>
    /// 类型编号
    /// </summary>
    public string Type
    {
        get { return type; }
        set { type = value; }
    }
    /// <summary>
    /// 作者
    /// </summary>
    public string Author
    {
        get { return author; }
        set { author = value; }
    }
    /// <summary>
    /// 译者
    /// </summary>
    public string Translator
    {
        get { return translator; }
        set { translator = value; }
    }
    /// <summary>
    /// 出版社
    /// </summary>
    public string PubName
    {
        get { return pubname; }
        set { pubname = value; }
    }
    /// <summary>
    /// 价格
    /// </summary>
    public decimal Price
    {
        get { return price; }
        set { price = value; }
    }
    /// <summary>
    /// 页码
    /// </summary>
    public int Page
    {
        get { return page; }
        set { page = value; }
    }
    /// <summary>
    /// 书架
    /// </summary>
    public string Bcase
    {
        get { return bcase; }
        set { bcase = value; }
    }
    /// <summary>
    /// 库存量
    /// </summary>
    public int Storage
    {
        get { return storage; }
        set { storage = value; }
    }
    /// <summary>
    /// 录入时间
    /// </summary>
    public DateTime InTime
    {
        get { return intime; }
        set { intime = value; }
    }
    /// <summary>
    /// 操作员
    /// </summary>
    public string Oper
    {
        get { return oper; }
        set { oper = value; }
    }
    /// <summary>
    /// 借阅次数
    /// </summary>
    public int BorrowNum
    {
        get { return borrownum; }
        set { borrownum = value; }
    }
    #endregion
}